﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace P2PLib.Client.DataModel
{
    [Serializable]
    public class DownloadTaskList
    {
        private List<DownloadTask> tasks;

        public DownloadTaskList()
        {
            this.tasks = new List<DownloadTask>();

        }
        public DownloadTaskList(List<DownloadTask> tasks)
        {
            this.tasks = tasks;
        }

        public List<DownloadTask> Tasks
        {
            get
            {
                return tasks;
            }
            set
            {
                this.tasks = value;
            }
        }
    }
}
